package com.gblw.rjkf.pj.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * (SysDictDetails)表实体类
 *
 * @author makejava
 * @since 2024-09-16 17:36:43
 */
@Data
@ApiModel(value = "SysDictDetails")
public class SysDictDetails {
    @ApiModelProperty("${column.comment}")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("${column.comment}")
    private String name;

    @ApiModelProperty("描述")
    private String descript;

    @ApiModelProperty("${column.comment}")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("${column.comment}")
    private Integer dictId;

    private String dictCode;
    @ApiModelProperty("创建用户id")
    @TableField(fill = FieldFill.INSERT)
    private Integer uid;

    @ApiModelProperty("${column.comment}")
    private Integer code;
}

